<script lang="ts" setup>
import {useWebsiteInfoStore} from '@/stores/websiteInfoStore';

const websiteInfoStore = useWebsiteInfoStore();
onMounted(async () => {
  // 抓取并更新数据
  await websiteInfoStore.fetchWebsiteInfo();
  await websiteInfoStore.fetchQrCode();
});
</script>

<template>
  <div class="copy">
    <div class="copyb web">
      <div class="copyz fl">
        <!-- 版权内容请在本组件"内容配置-版权"处填写 -->
        <h1>电 话：010-53384913</h1>
        <h1>网 站：www.yujiejxj.com</h1>
        <h1>地 址：北京市朝阳区住邦2000商务中心4号楼1508</h1>
        <br/>
        <h1>新疆育杰教育基金会</h1>
        <h1>文化 | 体育 | 音乐 | 艺术 | 奖学金</h1>
      </div>
      <div class="copyr fr">
        <div class="ewm">
          <div class="qr-code">
            <div><img :src="websiteInfoStore.codePic" height="107" width="107"></div>
            <div>公众号：育杰奖学金</div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="copyright-notice">
    <div data-tag="title"></div>
    <div data-tag="copyright"></div>
  </div>
</template>

<style scoped>

</style>